package com.example.department.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "部门")
public class DepartmentModel {

    @Schema(name = "部门ID", required = true, example = "1")
    private Long id;

    @Schema(name = "部门名称", required = true, example = "hello")
    private String name;

    @Schema(name = "部门所在地", required = true, example = "world")
    private String location;

}
